﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlayerAndGameControl
{
	class GameControl
	{
		private static Player player = new Player();

		public void CreatePlayer(String name){
			player = new Player(name);
		}

		public static void playerMoved()
		{
			player.Gold++;
			player.TurnNumber++;
		}

		public static void playerUsedArrow()
		{
			player.Arrows--;
		}
		public static void playerBaughtArrow()
		{

		}

		public void createCave()
		{

		}
		public void startGame()
		{

		}
		public static List<String> UIInformation()
		{
			//0 Gold
			//1 Arrows
			//2 TurnNumber
			//3 RoomNumber
			//4 - oo Hint(s)
			List<String> returnArguments = new List<String>();
			returnArguments.Add(player.Gold + "");
			returnArguments.Add(player.Arrows + "");
			returnArguments.Add(player.TurnNumber + "");
			return returnArguments;
		}
		public static bool shootArrow(int roomNumber)
		{
			player.Arrows--;
			//Check to see if hit
		}
		public static List<String> getHints(int roomNumber)
		{
			return null;
		}
		public static String[,] getTrivia(int numQuestions)
		{
			return null;
		}
	}
}
